package org.goldenport.g3.sample

import org.goldenport.g3._
import org.goldenport.g3.atom._
import org.goldenport.g3.channels.twitter._

/**
 * @since   May. 30, 2010
 * @version Sep.  9, 2010
 * @author  ASAMI, Tomoharu
 */
class TwitterChannel extends G3Application with TwitterContext {
  twitter('demogon)

  start invoke("demogon") agent {
    case AtomFeed(feed) => {
      for (entry <- feed.entries) {
        println(entry.title)
      }
      feed
    }
  }
}
